package instrumentation;

import java.io.Serializable;
import java.util.Set;
import java.util.HashSet;
public class ConditionClass implements Serializable{
	private static final long serialVersionUID = 6039856116509927723L;
	private final String cName;
	private final Set<Data> fields;
	private final Set<Condition> conditions;

	public ConditionClass(String cName, Set<Data> fields) {
		this.cName = cName;
		this.fields = fields;
		conditions = new HashSet<Condition>();
	}
	public String getCName(){
		return this.cName;
	}
	void addCondition(Condition c) {
		conditions.add(c);
	}
	public Set<Condition> getCondition() {
		return conditions;
	}


}
